package com.mdb.open.epay.enums.type;

import com.mdb.bc.api.enums.ApiEnum;

/**
 * 快捷簽約證件類型
 *
 * @author liuyi
 * @date 2019/11/14
 **/
public enum CertTypeEnum implements ApiEnum<String> {
    BL("BUSINESS LICENSE","BL"),
    BR("BUSINESS REGISTRATION CERTIFICATE","BR"),
    CD("IDENTITY CARD/CHINA","CD"),
    CG("CUSTOMER GROUP","CG"),
    CI("CERTIFICATE OF INCORORATION","CI"),
    CT("CORPORATION OTHERS","CT"),
    DC("DSEJ CERTIFICATE","DC"),
    DS("DSI CERTIFICATE","DS"),
    FE("FOREIGN EMPLOYEE ID","FE"),
    GA("GOVERNMENT APPROVAL","GA"),
    HM("PERMIT FOR TRAVELLING HK&MO","HM"),
    IC("IHM CERTIFICATE","IC"),
    ID("IDENTITY CARD/HONG KONG","ID"),
    MT("IDENTITY CARD/MACAU","MT"),
    MX("M1/M7/M8","MX"),
    NO("NON-PROFIT ORGANIZATION","NO"),
    OD("OTHER PERSONAL ID","OD"),
    OS("OFFSHORE SERVICE PERMIT","OS"),
    OT("OTHERS","OT"),
    PC("PROFESSIONAL CERTIFICATION","PC"),
    PI("PORTUGUESE IDENTITY CARD","PI"),
    PP("PASSPORT/TRAVEL DOCUMENT","PP"),
    SC("MACAO STUDENT CARD","SC"),
    SI("STAY ID OVERSEE","SI"),
    SP("SOLE PROPRITORSHIP","SP"),
    SW("SWIFT","SW"),
    TI("TEMPORARY STAY com.sun.xml.internal.bind.v2.model.core.ID OVERSEE","TI"),
    TP("TEMPORARY STAY PERMIT","TP"),
    TS("TEMPORARY SWIFT","TS"),

    ;

    //枚举描述
    private String text;

    private String coreType;

    CertTypeEnum(String text, String coreType) {
        this.text = text;
    }

    @Override
    public String getValue() {
        return this.name();
    }

    @Override
    public String getText() {
        return this.text;
    }

    public String getCoreType() {
        return this.coreType;
    }
}
